package cn.edu.ytu.edroid.easychart;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class SplashActivity extends Activity{

	private final int SPLASH_DISPLAY_LENGHT = 2000;  
	
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash_activity);  
        
        new Handler().postDelayed(new Runnable(){  
  
            @Override  
            public void run() {  
                // TODO Auto-generated method stub  
                Intent mainIntent = new Intent(SplashActivity.this, EditActivity.class);  
                SplashActivity.this.startActivity(mainIntent);  
                SplashActivity.this.finish();  
            }  
              
        }, SPLASH_DISPLAY_LENGHT);
	}
}
